<!doctype html>
<html lang="zh-CN">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>登录成功</title>
    <style>
      body { font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Noto Sans", "PingFang SC", "Microsoft YaHei", sans-serif; background:#f7f7f7; }
      .container { max-width: 520px; margin: 12vh auto; padding: 24px; background: #fff; border-radius: 8px; box-shadow: 0 6px 20px rgba(0,0,0,0.08); text-align:center; }
      h1 { font-size: 22px; margin: 0 0 12px; }
      p { color:#555; }
      a { color:#1677ff; text-decoration:none; }
      .btn { display:inline-block; margin-top:14px; padding: 8px 14px; background:#1677ff; color:#fff; border-radius:6px; }
    </style>
  </head>
  <body>
    <div class="container">
      <h1>登录成功</h1>
      <p>欢迎，{{ username }}！</p>
      <a class="btn" href="/login">返回登录</a>
    </div>
  </body>
</html>